package com.cn.dai.controller;

import com.cn.dai.common.R;
import com.cn.dai.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("admin")
public class LoginController {
    @Autowired
    private LoginService loginService;
    @PostMapping("login/byPhone")
    R<String> loginByPhone(){
        return R.ok();
    }
}
